# -*- encoding: utf-8 -*-
"""
    Created by Rachel on 2025/03/06
"""
from flask import Flask


class PluginRegistry:
    def __init__(self, app: Flask):
        self.app = app
        self.register_databases()

    def register_databases(self):
        """注册sqlalchemy插件"""
        from applications.ext.init_sqlalchemy import init_databases

        init_databases(self.app)

